//
//  DataManager.h
//  WeiFang
//
//  Created by WeiFang  on 2023.
//  Copyright © 2023 WeiFang . All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YTKKeyValueStore.h"

#import "WFEatModel.h"

@interface DataManager : NSObject

#pragma mark - 初始化

- (void)initTable;

- (NSString*)getGuid;

#pragma mark - 添加数据

- (void)addEatDataWithModel:(WFEatModel *)model;

#pragma mark - 查询数据

//获取所有数据
- (NSArray *)getEatArray;

#pragma mark - 删除

//删除指定id数据
- (void)deleteEatDataDicWithEatId:(NSString *)eatId;

+ (instancetype)shareInstance;

#define kDataManager [DataManager shareInstance]

@end
